<template>
	<view class="page">
		<view class="view-title">
			<view>我是</view>
			<text>请选择您的身份</text>
		</view>
		<view class="role-list">
			<view class="role-item" @click="jumpUrl">
				<u-icon name="account-fill" color="#2979ff" size="66"></u-icon>
				<view class="right-text">
					<view>企业用户</view>
					<text>有信贷需求、再生资源回收、礼品等需求。</text>
				</view>
			</view>
			<view class="role-item" @click="jumpUrl">
				<u-icon name="account-fill" color="#6600ff" size="66"></u-icon>
				<view class="right-text">
					<view>合伙人</view>
					<text>有客资信息，想兼职一份工作。</text>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			jumpUrl() {
				uni.navigateTo({
					url: '/pages/users/sign-in/sign-in'
				});
			}
		}
	}
</script>

<style scoped lang="scss">
	.page {
		min-height: 100vh;
		background: #f7f7f7;
		background-size: cover;
		background-attachment: fixed;
	}

	.view-title {
		display: flex;
		flex-direction: column;
		padding: 120rpx 60rpx 0;
		align-items: center;
		justify-content: center;

		view {
			font-weight: 600;
			font-size: 60rpx;
			line-height: 100rpx;
		}

		text {
			font-size: 28rpx;
			color: #777;
		}
	}

	.role-list {
		padding: 120rpx 60rpx 0;

		.role-item {
			background: #fff;
			padding: 30rpx;
			display: flex;
			flex-direction: row;
			margin-bottom: 60rpx;
			border-radius: 18rpx;

			.u-icon {
				width: 128rpx;
				height: 128rpx;
			}

			.right-text {
				padding-left: 20rpx;

				view {
					font-weight: 600;
					font-size: 40rpx;
					line-height: 50rpx;
				}

				text {
					font-size: 28rpx;
					color: #666;
				}
			}
		}
	}
</style>